home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: question -- external priority queue
- Date: Tue, 05 Mar 96 16:02:39 GMT
- Organization: none
- Message-ID: <826041759snz@genesis.demon.co.uk>
- References: <4hb5q9$ls9@pollux.usc.edu> <4hb7tm$7ql@news1.mnsinc.com>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4hb7tm$7ql@news1.mnsinc.com> huang@mnsinc.com "Szu-Wen Huang" writes:
-
- >S. Park (separk@pollux.usc.edu) wrote:
- >
- >: I wonder if there are publicly available C codes for external priority
- >: queue implementation. Could anyone kindly tell me where I should look
- >: or any other newsgroup that I might try to ask?
- >
- >A priority queue is a sorted list, and are generally implemented as
- >either a linked list or an array.
-
- A priority quere is an abstract datastructure. It could be implemented using
- a sorted list or even an unsorted list. It is commonly implemented using a
- heap or even a tree.
-
- >either a linked list or an array. I have no idea what you mean by
- >'external' priority queue, though. It's difficult to be more specific
- >because your question is rather vague.
-
- I guess he could mean maintaining a priority queue in a file.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-